package com.jirong.shop.mapper;

import com.jirong.shop.pojo.TGoods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jirong.shop.vo.GoodsVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jirong
 * @since 2022-01-16
 */
@Service
public interface TGoodsMapper extends BaseMapper<TGoods> {
    List<GoodsVo> findGoodsVo();

    GoodsVo findGoodsVoByGoodsId(@Param("goodsId") Long goodsId);
}
